*******************************************************************************************
*******************************************************************************************
******************** Reclassification Risk in the Small Group Health Insurance Market
******************* by Sebastian Fleitas, Gautam Gowrisankaran and Anthony Lo Sasso 
*******************************************************************************************
*******************************************************************************************
*******************************************************************************************
******************** Figure C3
*******************************************************************************************
*******************************************************************************************
*******************************************************************************************
 
 
clear all 

graph set window fontface "Times New Roman" 
set scheme s2mono

cd "/Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Tables_RESTAT/Do_files_Analysis/Heterogeneity"

import delimited data_for_eventstudy_size2023.csv, clear
rename percentile decile
twoway (scatter coef decile, yla(-1000(500)2500) yline(0) xlabel(1(1)10) mcolor(grey) msymbol(square)  msize(small) legend(lab( 1 "Coefficient."))) (rcap lb ub decile , legend(lab( 2 "95% confidence interval.")) lcolor(grey)), scheme(s1color) xlabel(, valuelabels angle(0) labsize(medium))  xtitle("") 
*title(Pass Through by decile of size) 
cd "/Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS" 
graph export graph_size2023.png, replace
